﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<LINK rel="Bookmark" href="../images/favicon.ico">
<!-- 本框架基本脚本和样式 -->
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/MBase.js"></script>
<!-- 富文本编辑器 -->
<link rel="stylesheet" type="text/css"
	href="${path }/resource/plugin/kindeditor/themes/default/default.css" />
<link rel="stylesheet" type="text/css"
	href="${path }/resource/plugin/kindeditor/plugins/code/prettify.css" />
<script type="text/javascript"
	src="${path }/resource/plugin/kindeditor/kindeditor.js"></script>
<script type="text/javascript"
	src="${path }/resource/plugin/kindeditor/lang/zh_CN.js"></script>
<script type="text/javascript"
	src="${path }/resource/plugin/kindeditor/plugins/code/prettify.js"></script>

<style>
img {
	width: 100%;
}
</style>
<title></title>
</head>
<div class="ibox-content">
	<form class="form-horizontal"  
		onsubmit="javascripr:return false;">
		<div class="form-group">
			<label class="col-sm-2 control-label">标题</label>
			<div class="col-sm-4">
				<p class="form-control-static">${obj.title}</p>
			</div>
			<label class="col-sm-2 control-label">所属模块</label>
			<div class="col-sm-4">
				<p class="form-control-static">${obj.interfaceName}</p>

			</div>
		</div>

		<div class="form-group ">
			<label class="col-sm-2 control-label">级别</label>
			<div class="col-sm-4">
				<div class="form-control-static">${obj.grade}</div>
			</div>

			<label class="col-sm-2 control-label">指派给</label>
			<div class="col-sm-4">
				<div class="form-control-static">${obj.assignUserName}</div>
			</div>
		</div>

		<div class="form-group ">
			<label class="col-sm-2 control-label">bug状态</label>
			<div class="col-sm-4">
				<div class="form-control-static">${obj.status}</div>
			</div>

			<label class="col-sm-2 control-label">方案</label>
			<div class="col-sm-4">
				<div class="form-control-static">${obj.type}</div>
			</div>
		</div>
		<div class="form-group ">
			<label class="col-sm-2 control-label">关联任务</label>
			<div class="col-sm-4">
				<div class="form-control-static">${obj.task.name}-${obj.task.assignName}</div>
			</div>
			 
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label">bug描述</label>
			<div class="col-sm-10">
				<div class="form-control-static">${obj.describes}</div>
			</div>
			<div class="Validform_checktip"></div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label">bug操作历史</label>
			<div class="col-sm-8">
				<c:forEach items="${flowList}" var="item">
					<p class="form-control-static">
						<fmt:formatDate value="${item.time}"
							pattern="yyyy年MM月dd日HH点mm分ss秒" />
						${item.summary}
					</p>
				</c:forEach>
			</div>
		</div>

		<div class="form-group ">
			<div class="col-sm-12 text-center">
				<button onclick="closeForm()" class="btn btn-danger radius"
					type="button">取消</button>
			</div>
		</div>
	</form>


</div>


<script type="text/javascript">
	/* 关闭弹出的窗口,做刷新操作 */
	function closeForm() {
		parent.myGrid.serchData();
		var index = parent.layer.getFrameIndex(window.name); //  获取窗口索引
		parent.layer.close(index);
	}
</script>
</body>
</html>